package com.ds.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @class: UserEvent
 * @description:
 * @author: fs
 * @create: 2023/10/13 9:11
 **/
@Getter
public class UserEvent extends ApplicationEvent {
    private final User user;

    public UserEvent(Object source, User user) {
        super(source);
        this.user = user;
    }
}
